//
//  SCDynamicSegmentView.h
//  Shuaiche
//
//  Created by zzs on 2018/10/12.
//  Copyright © 2018年 zzs. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SCDynamicSegmentViewDelegate<NSObject>

- (void)segmentDidClickedAtIndex:(NSInteger)index;

@end
@interface SCDynamicSegmentView: UIView

@property (nonatomic, strong) NSArray *titles;
@property (nonatomic, assign) float itemWidth;
@property (nonatomic, weak) id<SCDynamicSegmentViewDelegate>delegate;
@property (nonatomic, assign) BOOL hiddenBottomLine;
- (void)selectedAtIndex:(NSInteger)index;

@end
